package nl.haemers.data.reflection 
{
	import nl.haemers.data.constants.ReflectionConstants;
	
	/**
	 * ...
	 * @author Jonathan Haemers
	 */
	public class Metadata implements IMetadata 
	{
		private var _name					:String;
		private var _args					:IArgs;
		
		public function Metadata(description:XML) 
		{
			init(description);
		}		
		
		/** Public methods **/
		public function toString() : String
		{
			return _name;
		}
		
		/** Getters & Setters **/
		public function get name() : String 
		{
			return _name;
		}
		
		public function get args(): IArgs
		{
			return _args;
		}

		/** Protected methods **/
		
		/** Private methods **/
		
		/** Static methods **/
		private function init(xml:XML) : void//IMetadata
		{
			//var metadata:Metadata = new Metadata();
			this._name = xml.@name;
			this._args = new Args(xml);
			
			//return true;
		}
	}

}